// Display a numerical progress with dynamic iteration.
class johnForProg {
    public static void main(String args[]) {
        int i;
        int j = 2;

        System.out.print("i: ");

        for(i = 1; i <= 100; ) {
            System.out.print(i + " ");
            i *= j;
        }
        System.out.println();
    }
}
            
